﻿using S7.Net;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GXWA_DATA.Model.Table
{
    [SugarTable("device_config")]
    public class DeviceConfig
    {
        [SugarColumn(IsPrimaryKey = true)]
        public int Id {  get; set; }
        [SugarColumn(ColumnName = "nick")]
        public string Nick { get; set; }
        [SugarColumn(ColumnName = "name")]
        public string Name { get; set; }
        [SugarColumn(ColumnName = "ip")]
        public string Ip { get; set; }
        [SugarColumn(ColumnName = "heartBeat")]
        public int HeartBeat { get; set; }
        [SugarColumn(ColumnName = "readInterval")]
        public int ReadInterval { get; set; }
        [SugarColumn(ColumnName = "retryInterval")]
        public int RetryInterval { get; set; }
    }
}
